
<p id="notice"><%= notice %></p>


  <h1><%= @product.name %></h1>

<p>
  <b>Price:</b>
  <%= @product.price %>
</p>

<p>
  <b>Total Quantity</b>
  <%= @quantity %>
</p>
<p>
<%= link_to 'Add Inventory', new_product_inventory_path(@product) , :class => 'gray-btn' %>
</p>

<table class="datagrid">
  <thead>
  <tr>
    <th>Size</th>
    <th>Size Number</th>
    <th>Quantity</th>
    <!--<th>Product</th>-->
    <th></th>
    <th></th>
  </tr>
  </thead>
  <tbody>
        <%= render "product" %>
  </tbody>

</table>


<%= link_to 'Edit', edit_product_path(@product) %> |
<%= link_to 'Back', products_path %>
